//@import "normalize";
* {
  margin: 0;
  padding: 0;
  word-break: break-all;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  color: #2a2a2a;
  font-size: 14px;
  line-height: 1.5;
  background: #efeff4;
  font-family: "Helvetica Neue", Helvetica, STHeiTi, Roboto, "Droid Sans", "Droid Sans Fallback", sans-serif;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,select,input:focus,select:focus{
  outline:0;
  font-size: 14px;
  background: #fff;
  -webkit-appearance: none;
  -webkit-user-modify:read-write-plaintext-only;
}
a, a:visited {
  text-decoration: none;
  cursor: pointer;
}

ul li {
  list-style: none;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.tb-mode{
  width: 100%;
  display: table;
  .tb-cell{
    display: table-cell;
    vertical-align: middle;
  }
  .vertical-top{
    vertical-align: top;
  }
  .tb-row{
    display: table-row;
  }
}

/*浮动*/
.gc-fl-left {
  float: left;
}
.gc-fl-right {
  float: right;
}

/*清除浮动*/
.clearfix() {
  &:before,
  &:after {
    content: " ";
    display: table;
  }
  &:after {
    clear: both;
  }
}
.clearfix {
  .clearfix();
}

/*文字排列*/
.gc-ft-left{
  text-align: left;
}
.gc-ft-center{
  text-align: center;
}
.gc-ft-right{
  text-align: right;
}

/*字体大小*/
.gc-ft-ssm{
  font-size: 10px;
}
.gc-ft-sm{
  font-size: 12px;
}
.gc-ft-md{
  font-size: 14px!important;
}
.gc-ft-lg{
  font-size: 16px;
}
.gc-ft-20{
  font-size: 20px;
}
.gc-ft-24{
  font-size: 24px;
}

/*字体颜色*/
.gc-ft-gray{
  color: #999;
}
.gc-ft-deepgray{
  color: #666;
}
.gc-ft-normal{
  color: #2a2a2a;
}
.gc-ft-white{
  color: #fff;
}
.gc-ft-red{
  color: #ff5a5e;
}

/*盒子布局*/
.gc-flex{
  display: flex;
  display: -webkit-flex;
}
.gc-flex-center{
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
}
.gc-flex-lc{
  align-items: center;
  -webkit-align-items: center;
  justify-content: flex-start;
  -webkit-justify-content: flex-start;
}
.gc-flex-tc{
  align-items: flex-start;
  -webkit-align-items: flex-start;
  justify-content: center;
  -webkit-justify-content: center;
}
.gc-flex-between{
  align-items: center;
  -webkit-align-items: center;
  justify-content: space-between;
  -webkit-justify-content: space-between;
}
.gc-flex-col{
  flex-direction: column;
  -webkit-flex-direction: column;
}
.gc-flex-top{
  align-items: flex-start;
  -webkit-align-items: flex-start;
}
.gc-flex-wrap{
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}
.gc-flex-item{
  flex: 1;
  -webkit-flex: 1;
}

.relative_{
  position: relative;
}

/*列表*/
.gc-block{
  .blank_p();
  background: #fff;
  margin-top: 10px;
  .gc-block-line{
    .blank_p(10px,0);
    .border-bottom();
    &:first-of-type{
      padding-top: 0;
    }
    &:last-of-type{
      padding-bottom: 0;
      .border-bottom(transparent);
    }
  }
}
.gc-tab{
  background: #fff;
  line-height: 40px;
  .gc-tab-item{
    .border-bottom();
    span{
      width: 100%;
      .border-left();
      line-height: 20px;
      display: inline-block;
    }
    &:first-of-type{
      span{
        .border-left(transparent);
      }
    }
  }
  .actived{
    color: @maincolor;
    .border-bottom(@maincolor);
  }
}

/*圆加载*/
.circle-loadding{
  position: fixed;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  left: 0;
  z-index: 9999;
  circle {
    fill: #fff;
  }
}
#loadding{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: 10000;
}




@maincolor: #00a5f3;

/*边框线*/
.border(@color:#e6e6e6){
  border: 1px solid @color;
}
.border-top(@color:#e6e6e6){
  border-top: 1px solid @color;
}
.border-right(@color:#e6e6e6){
  border-right: 1px solid @color;
}
.border-bottom(@color:#e6e6e6){
  border-bottom: 1px solid @color;
}
.border-left(@color:#e6e6e6){
  border-left: 1px solid @color;
}
.border-radius(@radius){
  border-radius: @radius;
}
.blank_p(@v:10px,@h:12px){
  padding: @v @h;
}
.blank_m(@v:10px,@h:auto){
  margin: @v @h;
}
